package com.ylsk.check.domain;

import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ylsk.common.core.domain.MybatisPlusBaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ylsk.common.annotation.Excel;
import com.ylsk.common.core.domain.BaseEntity;

/**
 * 整改复查对象 ins_rectification_review
 *
 * @author ysy
 * @date 2023-12-26
 */
@TableName("ins_rectification_review")
public class RectificationReview extends MybatisPlusBaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 整改复查id */
    @TableId
    private Long rectificationReviewId;

    /** 施工检查问题id */
    private Long checkProblemId;

    /** 复查方式1(线上检查/2现场检查/3网络+现场检查) */
    private Integer reviewMethod;

    /** 填写意见 */
    private String reviewContent;

    /** 复查现场照及视频 */
    private Long reviewFileId;

    /** 经度 */
    @TableField(fill = FieldFill.INSERT)
    private BigDecimal longitude;

    /** 纬度 */
    @TableField(fill = FieldFill.INSERT)
    private BigDecimal latitude;

    /** 道路名称 */
    @TableField(fill = FieldFill.INSERT)
    private String roadName;

    /** 方向 */
    @TableField(fill = FieldFill.INSERT)
    private String direction;

    /** 所属大队 */
    private Long deptId;

    /** 复查人 */
    private Long reviewBy;

    /** 复查时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date reviewTime;

    /**
     * 审批状态  0 通过 1驳回
     */
    private Integer approvalStatus;

    public void setRectificationReviewId(Long rectificationReviewId)
    {
        this.rectificationReviewId = rectificationReviewId;
    }

    public Long getRectificationReviewId()
    {
        return rectificationReviewId;
    }
    public void setCheckProblemId(Long checkProblemId)
    {
        this.checkProblemId = checkProblemId;
    }

    public Long getCheckProblemId()
    {
        return checkProblemId;
    }
    public void setReviewMethod(Integer reviewMethod)
    {
        this.reviewMethod = reviewMethod;
    }

    public Integer getReviewMethod()
    {
        return reviewMethod;
    }
    public void setReviewContent(String reviewContent)
    {
        this.reviewContent = reviewContent;
    }

    public String getReviewContent()
    {
        return reviewContent;
    }
    public void setReviewFileId(Long reviewFileId)
    {
        this.reviewFileId = reviewFileId;
    }

    public Long getReviewFileId()
    {
        return reviewFileId;
    }
    public void setLongitude(BigDecimal longitude)
    {
        this.longitude = longitude;
    }

    public BigDecimal getLongitude()
    {
        return longitude;
    }
    public void setLatitude(BigDecimal latitude)
    {
        this.latitude = latitude;
    }

    public BigDecimal getLatitude()
    {
        return latitude;
    }
    public void setRoadName(String roadName)
    {
        this.roadName = roadName;
    }

    public String getRoadName()
    {
        return roadName;
    }
    public void setDirection(String direction)
    {
        this.direction = direction;
    }

    public String getDirection()
    {
        return direction;
    }
    public void setDeptId(Long deptId)
    {
        this.deptId = deptId;
    }

    public Long getDeptId()
    {
        return deptId;
    }

    public Integer getApprovalStatus() {
        return approvalStatus;
    }

    public void setApprovalStatus(Integer approvalStatus) {
        this.approvalStatus = approvalStatus;
    }

    public void setReviewBy(Long reviewBy)
    {
        this.reviewBy = reviewBy;
    }

    public Long getReviewBy()
    {
        return reviewBy;
    }
    public void setReviewTime(Date reviewTime)
    {
        this.reviewTime = reviewTime;
    }

    public Date getReviewTime()
    {
        return reviewTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("rectificationReviewId", getRectificationReviewId())
            .append("checkProblemId", getCheckProblemId())
            .append("reviewMethod", getReviewMethod())
            .append("reviewContent", getReviewContent())
            .append("reviewFileId", getReviewFileId())
            .append("longitude", getLongitude())
            .append("latitude", getLatitude())
            .append("roadName", getRoadName())
            .append("direction", getDirection())
            .append("deptId", getDeptId())
            .append("reviewBy", getReviewBy())
            .append("reviewTime", getReviewTime())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
